package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyBank;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyBankParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyBankResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuy
 * @since 2021-09-28
 */
public interface BtyBankService extends IService<BtyBank> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2021-09-28
     */
    void add(BtyBankParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2021-09-28
     */
    void delete(BtyBankParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2021-09-28
     */
    void update(BtyBankParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2021-09-28
     */
    BtyBankResult findBySpec(BtyBankParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2021-09-28
     */
    List<BtyBankResult> findListBySpec(BtyBankParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2021-09-28
     */
     LayuiPageInfo findPageBySpec(BtyBankParam param);

    List<BtyBankResult> dmList(BtyBankParam param);

    ResponseData confirmOk(BtyBankParam param) throws ParseException;

}
